package org.langqiao.disruptor;

import com.lmax.disruptor.EventHandler;

/**
 * 3.定义事件处理的具体实现
	通过实现接口 com.lmax.disruptor.EventHandler<T> 定义事件处理的具体实现。
 * @author mingyangyang
 *
 */
public class LongEventHandler implements EventHandler<LongEvent>{

	@Override
	public void onEvent(LongEvent logEvent, long arg1, boolean arg2) throws Exception {
		System.out.println(logEvent.getValue());
	}

}
